github.com/klauspost/compress/zstd.history.windowSize (field)
25 uses
github.com/klauspost/compress/zstd (current package)
blockdec.go#L664: hist.decoders.windowSize = hist.windowSize
blockdec.go#L674: if len(hbytes) > hist.windowSize {
blockdec.go#L675: hbytes = hbytes[len(hbytes)-hist.windowSize:]
blockdec.go#L681: hist.decoders.windowSize = hist.windowSize
decoder.go#L681: hist.windowSize = block.async.newHist.windowSize
decoder.go#L735: hist.windowSize = block.async.newHist.windowSize
decoder.go#L782: println("execute with history length:", len(hist.b), "window:", hist.windowSize)
framedec.go#L257: d.history.windowSize = int(d.WindowSize)
framedec.go#L258: if !d.o.lowMem || d.history.windowSize < maxBlockSize {
framedec.go#L260: d.history.allocFrameBuffer = d.history.windowSize * 2
framedec.go#L264: d.history.allocFrameBuffer = d.history.windowSize + maxBlockSize/2
framedec.go#L267: d.history.allocFrameBuffer = d.history.windowSize + maxBlockSize
history.go#L27: windowSize int
history.go#L74: if len(b) >= h.windowSize {
history.go#L76: h.b = h.b[:h.windowSize]
history.go#L77: copy(h.b, b[len(b)-h.windowSize:])
history.go#L89: discard := len(b) + len(h.b) - h.windowSize
history.go#L91: h.b = h.b[:h.windowSize]
history.go#L92: copy(h.b[h.windowSize-len(b):], b)
history.go#L103: if avail >= h.windowSize || avail > maxCompressedBlockSize {
history.go#L108: discard := len(h.b) - h.windowSize
history.go#L110: h.b = h.b[:h.windowSize]
seqdec.go#L93: s.windowSize = hist.windowSize
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |